package com.example.orderapplication.bean

class UserData {
    var id = 0
    var password: String? = null
    var phone: String? = null
    var name: String? = null

    companion object {
        const val TABLE_NAME = "LoginData"
        const val ID = "id"
        const val PASSWORD = "password"
        const val NAME = "name"
        const val PHONE = "phone"
        const val CREATE_TABLE = ("CREATE TABLE " + TABLE_NAME + "("
                + ID + " INTEGER PRIMARY KEY AUTOINCREMENT,"
                + PASSWORD + " TEXT,"
                + NAME + " TEXT,"
                + PHONE + " TEXT"
                + ")")
    }
}